<?php

namespace common\models;


use yii\db\ActiveRecord;

class ComplaintImg extends ActiveRecord
{
    public static function tableName()
    {
        return 'complaint_img';
    }

    public function attributeLabels()
    {
        return [
            'id	'=>'id',
            'complaint_id'=>'投诉id',
            'image'=>'图片地址',
        ];
    }

    public function rules()
    {
        return [
            [['id','complaint_id'],'integer'],
            [['image'],'string'],
        ];
    }

}